-- money_worker
-- created by panyl
-- 遗迹建筑功能-金币挖掘工

return {
    canDevelop = function(id)
        return true;
    end,

    -- 获取描述
    getDesc = function(desc)
        -- 20s的速度
        local countPerHour = ME.user:queryAttrib("money_speed") * 3600 / SkyRelicM.getGatherUnitTime();
        desc = string.gsub(desc, "{0}", tostring(countPerHour));
        return desc;
    end,
};
